#!/bin/sh
#/etc/profile

pid=`ps -ef |grep "app.py"|grep -v "grep"|awk '{print $2}'`
if [ "$pid" = "" ]
then
    echo "api server Service no run."
else
    echo $pid
    kill -9 $pid
    echo "app server Service stop sucess"
fi